// console.log({} instanceof Object);
// console.log(undefined == null);
// console.log({} == null);

/* const setArr = new Set([1, 2, 3])

setArr.add({ o: 1 })

console.log([...setArr][0]); */

const noNested = ['RegExp', 'Date', 'Error']

// const date = new Date()
const date = new Error()

date.a = {
    o: 1
}
// console.log(noNested.includes(date.constructor()));


// const type = Object.prototype.toString.call(date)

// console.log(type.replaceAll(/\[|]|object /g, ''));

console.log(date);